package cn.shop.dys.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/4/15.
 */
public class CartBean {
    public String proImg;
    public String proName;
    public float shopPrice = 0.01f;
    public float markPrice = 0.01f;
    public int proCount = 1;
    public boolean isSelected;
    public boolean buttonIsVisible;
    public  int proId;
    public int number;
    public  List<ProductProperty> productPropertys;

    public CartBean() {
    }

    public CartBean(float shopPrice, String proImg, String proName,
                    int proCount,int proId,List<ProductProperty> productPropertys,int number) {
        this.shopPrice = shopPrice;
        this.proImg = proImg;
        this.proName = proName;
        this.proCount = proCount;
        this.proId = proId;
        this.productPropertys = productPropertys;
        this.number = number;
    }

    @Override
    public String toString() {
        return "CartBean{" +
                "proImg='" + proImg + '\'' +
                ", proName='" + proName + '\'' +
                ", shopPrice=" + shopPrice +
                ", markPrice=" + markPrice +
                ", proCount=" + proCount +
                ", isSelected=" + isSelected +
                '}';
    }
}
